html, body {
  margin: 0;
  height: 100%;
  font-family: sans-serif;
}
* {
  box-sizing: border-box;
}
#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#learnware-renderer {
  transform-origin: top left;
  overflow: hidden;
}
#learnware-renderer iframe {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 2px 1px #aaa;
}

#prop-editor {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: calc(100% - 51px);
  border-left: 1px solid #ddd;
  padding: 0 12px;
  background-color: #f5f5f5;
}

#custom-widget-prop-editor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
#custom-widget-prop-editor iframe {
  position: absolute;
  top: 40px;
  left: 40px;
  width: calc(100% - 80px);
  height: calc(100% - 80px);
}

#richtext-editor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
#richtext-editor iframe {
  position: absolute;
  top: 50%;
  left: 0;
  width: 80%;
  height: 520px;
  padding-top: 8px;
  transform: translate(10%, -260px);
  background-color: white;
}